package com.lzj.server.constant.enums;

public enum MessageEnum {
    // ================== 消息类型 ==================
    NOTICE_MESSAGE(401, "普通消息"),
    SYSTEM_MESSAGE(402, "系统消息"),
    CHAT_MESSAGE(403, "聊天");
    //获取权限码
    private final Object code;
    //获取权名称
    private final String desc;

    MessageEnum(Object code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Object code() {
        return code;
    }

    public String desc() {
        return desc;
    }
}
